<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes" method="html" indent="yes"/>

	<!-- common constants template -->
	<xsl:include href="x_const.xsl"/>
	
	<!-- root template -->
	<xsl:template match="/">
		<xsl:apply-templates select="contentX/content/homepage"/>
		<xsl:apply-templates select="contentX/content/page"/>
		<xsl:apply-templates select="//exceptionX"/>
	</xsl:template>

	<!-- Include the template files here -->
	<xsl:include href="x_error.xsl"/>
	<xsl:include href="x_forms.xsl"/>
	<xsl:include href="x_group.xsl"/>
	<xsl:include href="x_hform.xsl"/>
	<xsl:include href="x_home.xsl"/>
	<xsl:include href="x_page.xsl"/>
	<xsl:include href="x_thoughts.xsl"/>
	
<!-- ===============================
	 Site-specific utility templates
	 =============================== -->

	<xsl:template match="brand">
		<xsl:text>Thoughtspace</xsl:text>
	</xsl:template>
	
	<!-- common utilities template -->
	<xsl:include href="x_utils.xsl"/>

</xsl:stylesheet>
